package com.gpy.hospital.cms.dao;

import com.gpy.hospital.cms.pojo.LiuYan;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface LiuYanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(LiuYan record);

    LiuYan selectByPrimaryKey(Integer id);

    List<LiuYan> selectAll();

    int updateByPrimaryKey(LiuYan record);

    int setStatus(Integer liuyanId);

    List<LiuYan> selectAllByEmail(String name);
}